﻿using gptDataType.Interface;
using gptDataType.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace gptDataType.Type.bit
{
  public  class PlcBool : PlcMemberBase
    {
        private bool _value;
        public PlcBool() : base("Bool", DataType.Bool, sizeInBits: 8) { }
        public PlcBool(string name, bool value)
    : base(name, DataType.Bool, sizeInBits: 8)
        {
            _value = value;
        }
    }
}
